package com.fineaiops.gateway.util;

public class ConstString {
    public static final String exceptionIndex = "log_exception_category";
    public static final String logIndex = "log_collection";
    public static String getAccessOrigin() {
        String host = System.getenv("ACCESS_HOST");
        String port = System.getenv("ACCESS_PORT");
        if (host.isEmpty()) {
            host = "localhost";
        }
        if (port.isEmpty()) {
            port = "8080";
        }
        return "http://" + host + ":" + port;
    }
}
